package com.sample.springbatch.job.sample.processor;

import com.sample.springbatch.job.exception.MySkipException;
import com.sample.springbatch.model.FieldJavaType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.item.ItemProcessor;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * Created by zwg on 2017/7/20.
 */
@Component
public class FieldJavaTypeProcessor implements ItemProcessor<FieldJavaType,FieldJavaType> {

    private static final Logger log = LoggerFactory.getLogger(FieldJavaTypeProcessor.class);

    @Override
    public FieldJavaType process(final FieldJavaType item) throws Exception {

        log.info("FieldJavaType:{}",item);

        return item;
    }
}
